package com.vue.entity.po;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 菜品购物车表
 * </p>
 *
 * @author wangruijie
 * @since 2024-08-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ShoppingCartPO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 对应用户id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long userId;

    /**
     * 下单标识0未下单；1已下单
     */
    private Integer orderFlag;

    /**
     * 吃饭日期
     */
    private String mealDate;


}
